import { UserData, UserSex } from "./UserData";

export interface UserWechatData{
    
    id: number

    user?: UserData;

    userId:number

    unionid: string

    openid: string

    nickName: string

    /**
     * UserSex 0 未知 1男性 2女性
     */
    sex: UserSex

    country: string

    avatarUrl: string

    city: string
    province: string

    createdAt: Date
    
    updatedAt: Date
}
export interface ProvinceTopData{
    province:string,
    count:string
}
export interface WXInfo{
    avatarUrl: string,
    city: string,
    country:  string,
    gender: number,
    nickName:  string,
    province:string,
}